var mongoose = require('mongoose')

var Schema = mongoose.Schema

var groupSchema = new Schema({
	adress:{
   	type:String,
   	required:true //不能为空
   },
   sub_ids:[{ 
   	type: Schema.Types.ObjectId
   }]
})
module.exports = db.model('Group',groupSchema)